/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.server.dao;

import ie.tcd.cs.railtickets.server.domain.Ticket;
import ie.tcd.cs.railtickets.server.domain.TravelPath;
import java.util.List;

/**
 *
 * @author Wenbo Sun
 */
public interface TravelPathDAO extends BaseDAO {

    //list{String, String}
    public List getUniquePaths();

    public List<TravelPath> findBy(String sourceStation, String destinationStation);

    public TravelPath findByTicket(Ticket ticket);
}
